//
//  TRWebViewConfiguration.swift
//  ThinkerRide
//
//  Created by sqkj on 2021/6/3.
//  Copyright © 2021 Chongqing Thinkerride Technology Co., Ltd. All rights reserved.
//

import UIKit
import WebKit

class TRWebViewConfiguration: WKWebViewConfiguration {
    override init() {
        super.init()
        self.allowsAirPlayForMediaPlayback = true
        self.allowsInlineMediaPlayback = true
        self.suppressesIncrementalRendering  = true
        self.userContentController = WKUserContentController();
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
